package cn.edu.shou.lab.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 用于页面跳转，返回的String为跳转路径
 */
@Controller
public class IndexController {

    @RequestMapping(value = "/", method = RequestMethod.GET)
    public String login(){
        return "index";
    }

    @RequestMapping(value = {"/Lms_{.+}/**","/user/**"})
    public String refresh(){
        return "index";
    }
}
